import request from '@/utils/request'

/**
 *
 * @param query
 * @returns {*}
 */
export function info(query){
  return request({
    url: '/exam/unreal/info',
    method: 'get',
  })
}
/**
 * 获取考试试卷
 * @param query
 * @returns {*}
 */
export function questionList(query){
  return request({
    url: '/exam/unreal/qlist',
    method: 'get',
  })
}

/**
 * 提交考试试卷
 * @param query
 * @returns {*}
 */
export function submitAnswer(data){
  return request({
    url: '/exam/unreal/submit',
    method: 'post',
    params: data
  })
}

